Modern Compiler Design Java Tutorial provides an overview of object-oriented programming concepts in Java including objects, classes, inheritance, encapsulation, and polymorphism. It also covers key Java features like packages, access control modifiers, exceptions, input/output streams, and collections. The document is intended as an introduction to Java for programmers familiar with C++.
This document provides an overview of object-oriented programming concepts in Java including:
- Objects communicate by sending and receiving messages. A program is composed of objects that interact.
- The main concepts of object-oriented programming are objects, classes, inheritance, and encapsulation.
- A class defines the type of an object and groups similar objects. An object is an instance of a class.
- Inheritance allows subclasses to inherit and extend the behavior of superclasses through generalization and specialization.
- Encapsulation separates the internal state of an object from its external interface through access control and information hiding.
This document discusses object-oriented programming concepts in Java including classes, objects, inheritance, encapsulation, and interfaces. It defines key terms like class, object, inheritance, and encapsulation. It explains that a class acts as a template that defines common attributes and behaviors of objects. Inheritance allows subclasses to extend and specialize the behaviors of parent classes. Encapsulation separates an object's internal state from its external interface. The document also covers other concepts like polymorphism, abstraction, and interfaces.
This document provides an overview of object-oriented programming concepts including classes, objects, inheritance, encapsulation, and polymorphism. It also discusses Java programming fundamentals such as primitive data types, variables, flow control, arrays, and methods. Additionally, it covers object-oriented principles in Java like abstraction, interfaces, exceptions, and collections.
The document provides an extensive tutorial on Java programming, covering key concepts such as programming paradigms, object-oriented principles (like inheritance, encapsulation, and polymorphism), and the structure of Java's class system. It discusses core Java elements like primitive types, arrays, static members, and interfaces, while also explaining the Java Virtual Machine (JVM) and error handling through exceptions. Additionally, it touches on Java's collection framework, emphasizing reusable data structures and the importance of collections in programming.
The document serves as a comprehensive Java tutorial covering various programming paradigms and core concepts such as object-oriented programming, inheritance, encapsulation, and polymorphism. It explains Java's unique features, including the Java Virtual Machine (JVM), primitive types, and collections, while also illustrating the advantages of using interfaces and exceptions for robust error handling. Additionally, it discusses access control, the significance of static members, and the role of packages in Java's hierarchical structure.
Java is a versatile programming language developed by James Gosling at Sun Microsystems, known for its simplicity, object-oriented approach, and platform independence. It supports various applications, including desktop, web, mobile, and embedded systems, and utilizes components like JVM, JRE, and JDK. Key concepts in Java include arrays, inheritance, polymorphism, abstract classes, interfaces, and a robust collection framework for managing data.
The document provides an overview of key Java concepts including:
1) Classes and methods define the structure and behaviors of objects in Java. Data types include primitives and object references.
2) Control statements like if/else and loops operate similarly to other languages like C++. Object-oriented concepts include inheritance, polymorphism, and encapsulation.
3) Interfaces define common behaviors without implementation, while abstract classes can contain abstract and implemented methods. The Java Virtual Machine executes Java bytecode making programs platform independent.
This document provides an overview of object-oriented programming concepts in Java. It discusses the differences between procedural and object-oriented programming, with OOP comprising objects that communicate with each other. The main OOP concepts covered are objects, classes, inheritance, and encapsulation. Objects have an identity, attributes, and services. Inheritance allows subclasses to inherit and extend superclass attributes and behaviors. Encapsulation separates an object's internal state from its external interface. The document also discusses other Java topics like interfaces, collections framework, exceptions, and final keywords.
This document provides an introduction to the Java programming language. It discusses that Java code is compiled to bytecode that runs on the Java Virtual Machine (JVM), allowing Java programs to run on any system with a JVM. The document then covers how to set up a Java development environment, write a simple "Hello World" program, use classes and objects in Java, and some basic Java concepts like primitives, arrays, and exceptions. It also compares Java to C/C++ and highlights some key differences.
This document provides an introduction to Java programming language. It discusses that Java was originally developed by Sun Microsystems in 1991 and was originally called OAK. It describes key characteristics of Java like being simple, object-oriented, distributed, interpreted, robust, secure, architecture-neutral, portable, multithreaded and dynamic. It also discusses features of the Java Virtual Machine like garbage collection, just-in-time compilation, security, and class loading. The document then covers Java versions, data types, naming conventions, object-oriented concepts like objects, classes, inheritance, polymorphism, abstraction and encapsulation. It concludes with brief descriptions of MySQL database.
The document discusses the fundamentals of object-oriented programming and Java. It covers key concepts like abstraction, encapsulation, inheritance and polymorphism. It also describes the basic structure of a Java program, including classes, objects, methods and variables. It explains how to set up a Java development environment, compile and run a simple Java program.
The document discusses Java packages and interfaces. It provides details about:
1) Packages in Java are used to group related classes and interfaces to prevent naming conflicts, make classes easier to find, and control access levels. Packages can contain subpackages.
2) Interfaces define abstract methods that classes implement, allowing multiple inheritance. Interface methods are public and abstract by default. Interfaces are extended, not implemented like classes.
3) The java.lang package contains fundamental classes like Object, String, and Math. The java.util package contains utility classes like Calendar, Collections, and Random. The java.io package supports input/output with streams, files, and serialization.
Introduction to oop and java fundamentalsAnsgarMary
This document provides an introduction to object-oriented programming concepts in Java, including classes, objects, inheritance, polymorphism, abstraction, and encapsulation. It then discusses the Java programming environment, fundamental programming structures in Java like data types, variables, operators, control flow statements, and arrays. Key characteristics of the Java language are also summarized.
This document provides an overview of the Java programming language. It discusses the history and origins of Java, defines what Java is, and lists some of its common uses. It then provides reasons for using Java, including that it works on multiple platforms, is one of the most popular languages, is easy to learn, is open-source, and has a large community. The document also introduces key Java concepts like syntax, variables, data types, classes and objects, inheritance, and packages.
chapter 1-overview of java programming.pptxnafsigenet
This document provides an overview of the Java programming language. It discusses key characteristics of Java including that it is platform independent, object-oriented, and includes a core language and common packages. It also describes how Java source code is compiled to bytecode, executed by the Java Virtual Machine, and how classes and objects are defined and used in Java programs.
This document provides an overview of object-oriented programming concepts in Java including abstraction, encapsulation, inheritance, and polymorphism. It discusses key Java concepts like classes, objects, methods, and access specifiers. It also covers Java fundamentals like variables, data types, operators, control flow statements, comments, and arrays. Additionally, it describes the Java runtime environment, how to set up a Java development environment, compile and run a simple Java program. The document is intended as an introduction to object-oriented programming and the Java programming language.
This document introduces Java programming concepts including object-oriented programming, primitive data types, control structures, predefined classes like Math and String, writing and documenting classes, and summarizing key characteristics of Java like being platform independent. It also covers topics like processing Java code, defining and using classes and objects, arrays, input/output streams, and more.
The document presents an overview of core Java, explaining its characteristics as a high-level, object-oriented, and platform-independent programming language. It covers key concepts including classes, objects, inheritance, encapsulation, and the Java Virtual Machine (JVM), along with details on primitive data types and memory management. Additionally, it highlights the importance of methods, constructors, and Java's string handling capabilities.
The document provides an overview of Java programming, detailing its history, advantages, and basic constructs such as classes, objects, and data types. It covers key concepts like the Java Virtual Machine (JVM), Java Runtime Environment (JRE), and the compilation and execution process of Java programs. Additionally, it explains object-oriented programming principles, primitive types, arrays, and differences between Java and C programming languages.
The document discusses Java packages and interfaces. It provides details about:
- What packages are and how they are used to prevent naming conflicts and organize classes.
- How to define a user-defined package with an example.
- What interfaces are and how they allow for multiple inheritance by implementing multiple interfaces.
- Examples of defining and implementing interfaces.
This document provides an introduction to the Java programming language. It discusses Java's object-oriented nature and platform independence. It explains how to write standalone Java programs and applets that can run in web browsers. It also covers Java's virtual machine, data types, control structures, classes and objects. Examples are provided of "Hello World" programs and basic class definitions.
The document provides an in-depth overview of Java, including its history, principles, usage, and basic syntax. It explains key Java features such as object-oriented programming, portability, high performance, and the significance of the Java Virtual Machine (JVM). Additionally, it covers Java installation, fundamental data types, control statements, methods, classes, and offers a simple 'Hello World' exercise as a practical introduction.
Present the syntax of Java Introduce the Javassuserfd620b
The document introduces Java programming as a current popular language focusing on its syntax, API, and application types such as applets and servlets. It emphasizes Java's object-oriented nature, platform independence, and wide-ranging library, alongside the development process for standalone applications. Key concepts include basic data types, control statements, class and object creation, and naming conventions.
The document provides an overview of core Java concepts including classes, objects, primitive data types, arrays, object-oriented programming principles like inheritance, abstraction, encapsulation and polymorphism. It also discusses packages and libraries in Java. Key topics covered are the difference between classes and objects, how classes are used to define objects, and the standard Java packages that are included in the Java Runtime Environment.
This document provides an introduction to the Java programming language. It discusses that Java code is written in the Java programming language and compiled to Java Virtual Machine (JVM) byte code. The JVM then interprets the byte code on different platforms. Java code is portable across operating systems since it runs on the JVM. The document also covers Java classes, objects, primitive data types, arrays, scoping, and importing libraries. It provides an example of a simple "Hello World" Java program.
This document provides an overview of object-oriented programming concepts in Java. It discusses the differences between procedural and object-oriented programming, with OOP comprising objects that communicate with each other. The main OOP concepts covered are objects, classes, inheritance, and encapsulation. Objects have an identity, attributes, and services. Inheritance allows subclasses to inherit and extend superclass attributes and behaviors. Encapsulation separates an object's internal state from its external interface. The document also discusses other Java topics like interfaces, collections framework, exceptions, and final keywords.
This document provides an introduction to the Java programming language. It discusses that Java code is compiled to bytecode that runs on the Java Virtual Machine (JVM), allowing Java programs to run on any system with a JVM. The document then covers how to set up a Java development environment, write a simple "Hello World" program, use classes and objects in Java, and some basic Java concepts like primitives, arrays, and exceptions. It also compares Java to C/C++ and highlights some key differences.
This document provides an introduction to Java programming language. It discusses that Java was originally developed by Sun Microsystems in 1991 and was originally called OAK. It describes key characteristics of Java like being simple, object-oriented, distributed, interpreted, robust, secure, architecture-neutral, portable, multithreaded and dynamic. It also discusses features of the Java Virtual Machine like garbage collection, just-in-time compilation, security, and class loading. The document then covers Java versions, data types, naming conventions, object-oriented concepts like objects, classes, inheritance, polymorphism, abstraction and encapsulation. It concludes with brief descriptions of MySQL database.
The document discusses the fundamentals of object-oriented programming and Java. It covers key concepts like abstraction, encapsulation, inheritance and polymorphism. It also describes the basic structure of a Java program, including classes, objects, methods and variables. It explains how to set up a Java development environment, compile and run a simple Java program.
The document discusses Java packages and interfaces. It provides details about:
1) Packages in Java are used to group related classes and interfaces to prevent naming conflicts, make classes easier to find, and control access levels. Packages can contain subpackages.
2) Interfaces define abstract methods that classes implement, allowing multiple inheritance. Interface methods are public and abstract by default. Interfaces are extended, not implemented like classes.
3) The java.lang package contains fundamental classes like Object, String, and Math. The java.util package contains utility classes like Calendar, Collections, and Random. The java.io package supports input/output with streams, files, and serialization.
Introduction to oop and java fundamentalsAnsgarMary
This document provides an introduction to object-oriented programming concepts in Java, including classes, objects, inheritance, polymorphism, abstraction, and encapsulation. It then discusses the Java programming environment, fundamental programming structures in Java like data types, variables, operators, control flow statements, and arrays. Key characteristics of the Java language are also summarized.
This document provides an overview of the Java programming language. It discusses the history and origins of Java, defines what Java is, and lists some of its common uses. It then provides reasons for using Java, including that it works on multiple platforms, is one of the most popular languages, is easy to learn, is open-source, and has a large community. The document also introduces key Java concepts like syntax, variables, data types, classes and objects, inheritance, and packages.
chapter 1-overview of java programming.pptxnafsigenet
This document provides an overview of the Java programming language. It discusses key characteristics of Java including that it is platform independent, object-oriented, and includes a core language and common packages. It also describes how Java source code is compiled to bytecode, executed by the Java Virtual Machine, and how classes and objects are defined and used in Java programs.
This document provides an overview of object-oriented programming concepts in Java including abstraction, encapsulation, inheritance, and polymorphism. It discusses key Java concepts like classes, objects, methods, and access specifiers. It also covers Java fundamentals like variables, data types, operators, control flow statements, comments, and arrays. Additionally, it describes the Java runtime environment, how to set up a Java development environment, compile and run a simple Java program. The document is intended as an introduction to object-oriented programming and the Java programming language.
This document introduces Java programming concepts including object-oriented programming, primitive data types, control structures, predefined classes like Math and String, writing and documenting classes, and summarizing key characteristics of Java like being platform independent. It also covers topics like processing Java code, defining and using classes and objects, arrays, input/output streams, and more.
The document presents an overview of core Java, explaining its characteristics as a high-level, object-oriented, and platform-independent programming language. It covers key concepts including classes, objects, inheritance, encapsulation, and the Java Virtual Machine (JVM), along with details on primitive data types and memory management. Additionally, it highlights the importance of methods, constructors, and Java's string handling capabilities.
The document provides an overview of Java programming, detailing its history, advantages, and basic constructs such as classes, objects, and data types. It covers key concepts like the Java Virtual Machine (JVM), Java Runtime Environment (JRE), and the compilation and execution process of Java programs. Additionally, it explains object-oriented programming principles, primitive types, arrays, and differences between Java and C programming languages.
The document discusses Java packages and interfaces. It provides details about:
- What packages are and how they are used to prevent naming conflicts and organize classes.
- How to define a user-defined package with an example.
- What interfaces are and how they allow for multiple inheritance by implementing multiple interfaces.
- Examples of defining and implementing interfaces.
This document provides an introduction to the Java programming language. It discusses Java's object-oriented nature and platform independence. It explains how to write standalone Java programs and applets that can run in web browsers. It also covers Java's virtual machine, data types, control structures, classes and objects. Examples are provided of "Hello World" programs and basic class definitions.
The document provides an in-depth overview of Java, including its history, principles, usage, and basic syntax. It explains key Java features such as object-oriented programming, portability, high performance, and the significance of the Java Virtual Machine (JVM). Additionally, it covers Java installation, fundamental data types, control statements, methods, classes, and offers a simple 'Hello World' exercise as a practical introduction.
Present the syntax of Java Introduce the Javassuserfd620b
The document introduces Java programming as a current popular language focusing on its syntax, API, and application types such as applets and servlets. It emphasizes Java's object-oriented nature, platform independence, and wide-ranging library, alongside the development process for standalone applications. Key concepts include basic data types, control statements, class and object creation, and naming conventions.
The document provides an overview of core Java concepts including classes, objects, primitive data types, arrays, object-oriented programming principles like inheritance, abstraction, encapsulation and polymorphism. It also discusses packages and libraries in Java. Key topics covered are the difference between classes and objects, how classes are used to define objects, and the standard Java packages that are included in the Java Runtime Environment.
This document provides an introduction to the Java programming language. It discusses that Java code is written in the Java programming language and compiled to Java Virtual Machine (JVM) byte code. The JVM then interprets the byte code on different platforms. Java code is portable across operating systems since it runs on the JVM. The document also covers Java classes, objects, primitive data types, arrays, scoping, and importing libraries. It provides an example of a simple "Hello World" Java program.
The document explains the syntax for declaring and initializing arrays, which follows the structure 'data_type array_name[size]'. It provides examples for declaration (int numbers[5]) and initialization (int numbers[5] = {10, 20, 30, 40, 50}), as well as partial initialization that defaults uninitialized elements to 0.
Arrays are collections of elements of the same data type that store multiple values in a single variable, simplifying data manipulation and improving efficiency. They can be declared and initialized with a specified size and values, and elements are accessed and modified using their index. Common operations on arrays include traversal, searching, and sorting.
An array is a collection of elements of the same data type stored in contiguous memory locations, allowing for efficient data manipulation and operations. Arrays simplify handling multiple values by enabling access through indexing and support operations like traversal, searching, and sorting. They can be declared and initialized with specific syntax and offer features like partial initialization.
c first pres.pptxslidenoteseceslidenoteseceslidenoteseceyatakonakiran2
The document discusses dynamic memory allocation for arrays, emphasizing its advantages such as flexibility in size and efficient memory usage. It covers applications in C programming, including sorting algorithms and data structures, as well as game development. Additionally, it introduces advanced concepts like dynamic arrays, arrays of pointers, and the use of multi-dimensional arrays in functions.
This document provides a comprehensive overview of arrays in C programming, defining them as collections of elements of the same data type that facilitate efficient data manipulation. It discusses declaration, initialization, and various operations such as traversal, searching, and sorting, while also touching upon advanced concepts like dynamic arrays and multidimensional arrays. Additionally, real-world applications in areas like sorting algorithms and game development illustrate the practical relevance of arrays.
The document is a comprehensive overview of computer programming and data structures, covering topics such as computer systems, programming languages, algorithm design, and software development methods. It details the C programming language, including data types, functions, pointers, arrays, and structures, while also discussing file management and searching and sorting algorithms. Additionally, it explains the software development life cycle, emphasizing the importance of structured programming techniques for efficient and maintainable code.
data structures Unit 3 notes.docxdata structures Unit 3 notes.docxyatakonakiran2
The document provides an extensive overview of tree terminology in data structures, discussing both linear and non-linear data organization. It explains essential concepts such as nodes, root, edges, parent and child relationships, as well as the types of binary trees and their traversal methods. Additionally, it includes detailed information about binary search trees, including their insertion and deletion operations.
into python.pptinto python.pptinto python.pptyatakonakiran2
The document provides a comprehensive introduction to Python, covering its history, installation, and key concepts including data types, mutability, and the Python interpreter. It outlines the installation process, usage of different text editors, and offers examples of scripts and functions, highlighting the importance of indentation in Python code. The document also explains sequence types such as lists, tuples, and strings, emphasizing their characteristics and operations.
The document discusses the growing interest in data catalogs and their importance in enabling self-service data analysis for various users within organizations. It emphasizes the significance of collaboration, integration with data governance, and the effective use of data catalogs to maintain data quality and promote business success. Additionally, it outlines the roles of data stewards and the need for a balance in data governance to foster a productive data environment.
This document provides an introduction to C programming, covering fundamental concepts such as programming languages, the history of C, and essential development stages like editing, compiling, and executing programs. It explains the structure of C programs, including pre-processor directives and the main function, as well as fundamental concepts around variables, keywords, data types, and operators. Additionally, it includes input/output operations, formatting for printf and scanf, and selection structures with if and switch statements.
The document outlines the Design Failure Mode and Effects Analysis (DFMEA) process, detailing steps such as reviewing design, identifying potential failure modes and their causes, ranking failures, and developing action plans to address them. Additionally, it emphasizes the importance of testing designs through various methods to ensure functionality and safety, highlighting the creation of test plans and the significance of prototyping. The document concludes with a focus on effective project delivery and the review process needed for successful implementation.
This document outlines the second module of a design thinking course, focusing on the IPAAC project aimed at enhancing communication for students with autism through a custom iPad application. It discusses the importance of design thinking, the role of IDEO, and the prototyping process in developing effective solutions. The document emphasizes the benefits of failure, iterative testing, and community collaboration in the design and innovation process.
The document explains the concept of abstract classes in object-oriented programming, highlighting their role in defining a superclass that sets the structure for subclasses without providing complete implementations. It illustrates how abstract methods enforce the requirement for subclasses to provide their own implementations. Examples, including class hierarchies for geometric figures like rectangles and triangles, demonstrate the practical application of abstract classes and methods.
How to Configure Vendor Management in Lunch App of Odoo 18Celine George
The Vendor management in the Lunch app of Odoo 18 is the central hub for managing all aspects of the restaurants or caterers that provide food for your employees.
Wax Moon is an independent record store keeping its foundational foothold in vinyl records by taking in collections and keeping the old 80s aesthetics alive with involvement in its community and participation with record distributors.
How to Create an Event in Odoo 18 - Odoo 18 SlidesCeline George
Creating an event in Odoo 18 is a straightforward process that allows you to manage various aspects of your event efficiently.
Odoo 18 Events Module is a powerful tool for organizing and managing events of all sizes, from conferences and workshops to webinars and meetups.
In this module, you will discover how digital tools, systems, and platforms empower people, businesses, and communities in the modern world. As 21st-century learners, you are part of a generation that lives and learns in a digital environment. This module is designed to guide you in exploring how ICT serves as a powerful tool—not only for communication but also for innovation, entrepreneurship, and responsible citizenship. Throughout this learning material, you will examine how ICT is used in real-world scenarios such as online marketing, digital citizenship, and legal and ethical issues in technology use. You’ll gain practical knowledge and skills, from creating websites and managing e-commerce platforms, to analyzing data and practicing safe and responsible behavior online.
By engaging with the lessons, activities, and performance tasks in this module, you will become more than just a technology user—you will be a responsible, informed, and empowered digital citizen ready to thrive in today’s interconnected world.
Let’s begin this journey and unlock the full potential of ICT in your everyday life!
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...Rajdeep Bavaliya
Get ready to embark on a cosmic quest as we unpack the archetypal power behind Christopher Nolan’s ‘Interstellar.’ Discover how hero’s journey tropes, mythic symbols like wormholes and tesseracts, and themes of love, sacrifice, and environmental urgency shape this epic odyssey. Whether you’re a film theory buff or a casual viewer, you’ll learn why Cooper’s journey resonates with timeless myths—and what it means for our own future. Smash that like button, and follow for more deep dives into cinema’s greatest stories!
M.A. Sem - 2 | Presentation
Presentation Season - 2
Paper - 109: Literary Theory & Criticism and Indian Aesthetics
Submitted Date: April 5, 2025
Paper Name: Literary Theory & Criticism and Indian Aesthetics
Topic: Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes in Nolan’s Cosmic Odyssey
[Please copy the link and paste it into any web browser to access the content.]
Video Link: https://youtu.be/vHLaLZPHumk
For a more in-depth discussion of this presentation, please visit the full blog post at the following link: https://rajdeepbavaliya2.blogspot.com/2025/04/archetypal-journeys-in-interstellar-exploring-universal-themes-in-nolan-s-cosmic-odyssey.html
Please visit this blog to explore additional presentations from this season:
Hashtags:
#ChristopherNolan #Interstellar #NolanFilms #HeroJourney #CosmicOdyssey #FilmTheory #ArchetypalCriticism #SciFiCinema #TimeDilation #EnvironmentalCinema #MythicStorytelling
Keyword Tags:
Interstellar analysis, Christopher Nolan archetypes, hero’s journey explained, wormhole symbolism, tesseract meaning, myth in sci-fi, cinematic archetypes, environmental themes film, love across time, Nolan film breakdown
PEST OF WHEAT SORGHUM BAJRA and MINOR MILLETS.pptxArshad Shaikh
Wheat, sorghum, and bajra (pearl millet) are susceptible to various pests that can significantly impact crop yields. Common pests include aphids, stem borers, shoot flies, and armyworms. Aphids feed on plant sap, weakening the plants, while stem borers and shoot flies damage the stems and shoots, leading to dead hearts and reduced growth. Armyworms, on the other hand, are voracious feeders that can cause extensive defoliation and grain damage. Effective management strategies, including resistant varieties, cultural practices, and targeted pesticide applications, are essential to mitigate pest damage and ensure healthy crop production.
Battle of Bookworms is a literature quiz organized by Pragya, UEM Kolkata, as part of their cultural fest Ecstasia. Curated by quizmasters Drisana Bhattacharyya, Argha Saha, and Aniket Adhikari, the quiz was a dynamic mix of classical literature, modern writing, mythology, regional texts, and experimental literary forms. It began with a 20-question prelim round where ‘star questions’ played a key tie-breaking role. The top 8 teams moved into advanced rounds, where they faced audio-visual challenges, pounce/bounce formats, immunity tokens, and theme-based risk-reward questions. From Orwell and Hemingway to Tagore and Sarala Das, the quiz traversed a global and Indian literary landscape. Unique rounds explored slipstream fiction, constrained writing, adaptations, and true crime literature. It included signature IDs, character identifications, and open-pounce selections. Questions were crafted to test contextual understanding, narrative knowledge, and authorial intent, making the quiz both intellectually rewarding and culturally rich. Battle of Bookworms proved literature quizzes can be insightful, creative, and deeply enjoyable for all.
This presentation has been made keeping in mind the students of undergraduate and postgraduate level. In this slide try to present the brief history of Chaulukyas of Gujrat up to Kumarpala To keep the facts in a natural form and to display the material in more detail, the help of various books, websites and online medium has been taken. Whatever medium the material or facts have been taken from, an attempt has been made by the presenter to give their reference at the end.
Chaulukya or Solanki was one of the Rajputs born from Agnikul. In the Vadnagar inscription, the origin of this dynasty is told from Brahma's Chauluk or Kamandalu. They ruled in Gujarat from the latter half of the tenth century to the beginning of the thirteenth century. Their capital was in Anahilwad. It is not certain whether it had any relation with the Chalukya dynasty of the south or not. It is worth mentioning that the name of the dynasty of the south was 'Chaluky' while the dynasty of Gujarat has been called 'Chaulukya'. The rulers of this dynasty were the supporters and patrons of Jainism.
Paper 108 | Thoreau’s Influence on Gandhi: The Evolution of Civil DisobedienceRajdeep Bavaliya
Dive into the powerful journey from Thoreau’s 19th‑century essay to Gandhi’s mass movement, and discover how one man’s moral stand became the backbone of nonviolent resistance worldwide. Learn how conscience met strategy to spark revolutions, and why their legacy still inspires today’s social justice warriors. Uncover the evolution of civil disobedience. Don’t forget to like, share, and follow for more deep dives into the ideas that changed the world.
M.A. Sem - 2 | Presentation
Presentation Season - 2
Paper - 108: The American Literature
Submitted Date: April 2, 2025
Paper Name: The American Literature
Topic: Thoreau’s Influence on Gandhi: The Evolution of Civil Disobedience
[Please copy the link and paste it into any web browser to access the content.]
Video Link: https://youtu.be/HXeq6utg7iQ
For a more in-depth discussion of this presentation, please visit the full blog post at the following link: https://rajdeepbavaliya2.blogspot.com/2025/04/thoreau-s-influence-on-gandhi-the-evolution-of-civil-disobedience.html
Please visit this blog to explore additional presentations from this season:
Hashtags:
#CivilDisobedience #ThoreauToGandhi #NonviolentResistance #Satyagraha #Transcendentalism #SocialJustice #HistoryUncovered #GandhiLegacy #ThoreauInfluence #PeacefulProtest
Keyword Tags:
civil disobedience, Thoreau, Gandhi, Satyagraha, nonviolent protest, transcendentalism, moral resistance, Gandhi Thoreau connection, social change, political philosophy
Measuring, learning and applying multiplication facts.cgilmore6
Slides from a presentation by Professor Camilla Gilmore to the Association of Teachers of Mathematics and Mathematics Association Primary Interest group in June 2025.
This gave an overview of two studies that investigated children's multiplication fact knowledge. These studies were part of the SUM research project based at the University of Nottingham and Loughborough University. For more information see www.sumproject.org.uk
THE QUIZ CLUB OF PSGCAS BRINGS T0 YOU A FUN-FILLED, SEAT EDGE BUSINESS QUIZ
DIVE INTO THE PRELIMS OF BIZCOM 2024
QM: GOWTHAM S
BCom (2022-25)
THE QUIZ CLUB OF PSGCAS
How to Manage Inventory Movement in Odoo 18 POSCeline George
Inventory management in the Odoo 18 Point of Sale system is tightly integrated with the inventory module, offering a solution to businesses to manage sales and stock in one united system.
How to Implement Least Package Removal Strategy in Odoo 18 InventoryCeline George
In Odoo, the least package removal strategy is a feature designed to optimize inventory management by minimizing the number of packages open to fulfill the orders. This strategy is particularly useful for the business that deals with products packages in various quantities such as boxes, cartons or palettes.
7. 7
Creating and Compiling Programs
• On command line
– javac file.java Source Code
Create/Modify Source Code
Compile Source Code
i.e. javac Welcome.java
Bytecode
Run Byteode
i.e. java Welcome
Result
If compilation errors
If runtime errors or incorrect result
8. 8
Executing Applications
• On command line
– java classname
Java
Interpreter
on Windows
Java
Interpreter
on Sun Solaris
Java
Interpreter
on Linux
Bytecode
...
28. Different Programming Paradigms
• Functional/procedural programming:
– program is a list of instructions to the computer
• Object-oriented programming
– program is composed of a collection objects
that communicate with each other
30. Objects
• identity – unique identification of an object
• attributes – data/state
• services – methods/operations
– supported by the object
– within objects responsibility to provide these
services to other clients
31. Class
• “type”
• object is an instance of class
• class groups similar objects
– same (structure of) attributes
– same services
• object holds values of its class’s attributes
32. Inheritance
• Class hierarchy
• Generalization and Specialization
– subclass inherits attributes and services from its
superclass
– subclass may add new attributes and services
– subclass may reuse the code in the superclass
– subclasses provide specialized behaviors (overriding
and dynamic binding)
– partially define and implement common behaviors
(abstract)
33. Encapsulation
• Separation between internal state of the object
and its external aspects
• How ?
– control access to members of the class
– interface “type”
34. What does it buy us ?
• Modularity
– source code for an object can be written and maintained
independently of the source code for other objects
– easier maintainance and reuse
• Information hiding
– other objects can ignore implementation details
– security (object has control over its internal state)
• but
– shared data need special design patterns (e.g., DB)
– performance overhead
35. mainly for c++ programmer
Adapted with permission from Avivit Bercovici Boden, Technion
36. Why Java ?
• Portable
• Easy to learn
• [ Designed to be used on the Internet ]
37. JVM
• JVM stands for
Java Virtual Machine
• Unlike other languages, Java “executables”
are executed on a CPU that does not exist.
39. Primitive types
• int 4 bytes
• short 2 bytes
• long 8 bytes
• byte 1 byte
• float 4 bytes
• double 8 bytes
• char Unicode encoding (2 bytes)
• boolean {true,false}
Behaviors is
exactly as in
C++
Note:
Primitive type
always begin
with lower-case
41. Wrappers
Java provides Objects which wrap
primitive types and supply methods.
Example:
Integer n = new Integer(“4”);
int m = n.intValue();
Read more about Integer in JDK Documentation
42. Hello World
class Hello {
public static void main(String[] args) {
System.out.println(“Hello World !!!”);
}
}
Hello.java
C:javac Hello.java
C:java Hello
( compilation creates Hello.class )
(Execution on the local JVM)
43. More sophisticated
class Kyle {
private boolean kennyIsAlive_;
public Kyle() { kennyIsAlive_ = true; }
public Kyle(Kyle aKyle) {
kennyIsAlive_ = aKyle.kennyIsAlive_;
}
public String theyKilledKenny() {
if (kennyIsAlive_) {
kennyIsAlive_ = false;
return “You bastards !!!”;
} else {
return “?”;
}
}
public static void main(String[] args) {
Kyle k = new Kyle();
String s = k.theyKilledKenny();
System.out.println(“Kyle: “ + s);
}
}
Default
C’tor
Copy
C’tor
45. Arrays
• Array is an object
• Array size is fixed
Animal[] arr; // nothing yet …
arr = new Animal[4]; // only array of pointers
for(int i=0 ; i < arr.length ; i++) {
arr[i] = new Animal();
// now we have a complete array
46. Arrays - Multidimensional
• In C++
Animal arr[2][2]
Is:
• In Java
What is the type of
the object here ?
Animal[][] arr=
new Animal[2][2]
47. Static - [1/4]
• Member data - Same data is used for all the
instances (objects) of some Class.
Class A {
public int y = 0;
public static int x_ = 1;
};
A a = new A();
A b = new A();
System.out.println(b.x_);
a.x_ = 5;
System.out.println(b.x_);
A.x_ = 10;
System.out.println(b.x_);
Assignment performed
on the first access to the
Class.
Only one instance of ‘x’
exists in memory
Output:
1
5
10
a b
y y
A.x_
0 0
1
48. Static - [2/4]
• Member function
– Static member function can access only static members
– Static member function can be called without an
instance. Class TeaPot {
private static int numOfTP = 0;
private Color myColor_;
public TeaPot(Color c) {
myColor_ = c;
numOfTP++;
}
public static int howManyTeaPots()
{ return numOfTP; }
// error :
public static Color getColor()
{ return myColor_; }
}
49. Static - [2/4] cont.
Usage:
TeaPot tp1 = new TeaPot(Color.RED);
TeaPot tp2 = new TeaPot(Color.GREEN);
System.out.println(“We have “ +
TeaPot.howManyTeaPots()+ “Tea Pots”);
50. Static - [3/4]
• Block
– Code that is executed in the first reference to the class.
– Several static blocks can exist in the same class
( Execution order is by the appearance order in the
class definition ).
– Only static members can be accessed.
class RandomGenerator {
private static int seed_;
static {
int t = System.getTime() % 100;
seed_ = System.getTime();
while(t-- > 0)
seed_ = getNextNumber(seed_);
}
}
}
51. String is an Object
• Constant strings as in C, does not exist
• The function call foo(“Hello”) creates a String object,
containing “Hello”, and passes reference to it to foo.
• There is no point in writing :
• The String object is a constant. It can’t be changed using
a reference to it.
String s = new String(“Hello”);
52. Flow control
Basically, it is exactly like c/c++.
if/else
do/while
for
switch
If(x==4) {
// act1
} else {
// act2
}
int i=5;
do {
// act1
i--;
} while(i!=0);
int j;
for(int i=0;i<=9;i++)
{
j+=i;
}
char
c=IN.getChar();
switch(c) {
case ‘a’:
case ‘b’:
// act1
break;
default:
// act2
}
53. Packages
• Java code has hierarchical structure.
• The environment variable CLASSPATH contains
the directory names of the roots.
• Every Object belongs to a package ( ‘package’
keyword)
• Object full name contains the name full name of the
package containing it.
54. Access Control
• public member (function/data)
– Can be called/modified from outside.
• protected
– Can be called/modified from derived classes
• private
– Can be called/modified only from the current class
• default ( if no access modifier stated )
– Usually referred to as “Friendly”.
– Can be called/modified/instantiated from the same package.
55. Inheritance
Base
Derived
class Base {
Base(){}
Base(int i) {}
protected void foo() {…}
}
class Derived extends Base {
Derived() {}
protected void foo() {…}
Derived(int i) {
super(i);
…
super.foo();
}
}
As opposed to C++, it is possible to inherit only from ONE class.
Pros avoids many potential problems and bugs.
Cons might cause code replication
56. Polymorphism
• Inheritance creates an “is a” relation:
For example, if B inherits from A, than we say that
“B is also an A”.
Implications are:
– access rights (Java forbids reducing access rights) -
derived class can receive all the messages that the base
class can.
– behavior
– precondition and postcondition
57. Inheritance (2)
• In Java, all methods are virtual :
class Base {
void foo() {
System.out.println(“Base”);
}
}
class Derived extends Base {
void foo() {
System.out.println(“Derived”);
}
}
public class Test {
public static void main(String[] args) {
Base b = new Derived();
b.foo(); // Derived.foo() will be activated
}
}
59. Inheritance (3) - Optional
class classA {
classA(int arg1){
System.out.println("In classA(int arg1)");
}
classA(){
System.out.println("In classA()");
}
}
class classB extends classA {
classB(int arg1, int arg2){
this(arg1);
System.out.println("In classB(int arg1, int arg2)");
}
classB(int arg1){
super(arg1);
System.out.println("In classB(int arg1)");
}
class B() {
System.out.println("In classB()");
}
}
60. Abstract
• abstract member function, means that the function does not have an implementation.
• abstract class, is class that can not be instantiated.
AbstractTest.java:6: class AbstractTest is an abstract class.
It can't be instantiated.
new AbstractTest();
^
1 error
NOTE:
An abstract class is not required to have an abstract method in it.
But any class that has an abstract method in it or that does
not provide an implementation for any abstract methods declared
in its superclasses must be declared as an abstract class.
Example
61. Abstract - Example
package java.lang;
public abstract class Shape {
public abstract void draw();
public void move(int x, int y) {
setColor(BackGroundColor);
draw();
setCenter(x,y);
setColor(ForeGroundColor);
draw();
}
}
package java.lang;
public class Circle extends Shape {
public void draw() {
// draw the circle ...
}
}
62. Interface
Interfaces are useful for the following:
Capturing similarities among unrelated
classes without artificially forcing a class
relationship.
Declaring methods that one or more classes
are expected to implement.
Revealing an object's programming interface
without revealing its class.
63. Interface
• abstract “class”
• Helps defining a “usage contract” between classes
• All methods are public
• Java’s compensation for removing the multiple
inheritance. You can “inherit” as many interfaces
as you want.
Example
*
- The correct term is “to implement”
an interface
64. Interface
interface SouthParkCharacter {
void curse();
}
interface IChef {
void cook(Food food);
}
interface BabyKicker {
void kickTheBaby(Baby);
}
class Chef implements IChef, SouthParkCharacter {
// overridden methods MUST be public
// can you tell why ?
public void curse() { … }
public void cook(Food f) { … }
}
* access rights (Java forbids reducing of access rights)
65. When to use an interface ?
Perfect tool for encapsulating the
classes inner structure. Only the
interface will be exposed
66. Collections
• Collection/container
– object that groups multiple elements
– used to store, retrieve, manipulate, communicate
aggregate data
• Iterator - object used for traversing a collection
and selectively remove elements
• Generics – implementation is parametric in the
type of elements
67. Java Collection Framework
• Goal: Implement reusable data-structures and functionality
• Collection interfaces - manipulate collections
independently of representation details
• Collection implementations - reusable data structures
List<String> list = new ArrayList<String>(c);
• Algorithms - reusable functionality
– computations on objects that implement collection interfaces
– e.g., searching, sorting
– polymorphic: the same method can be used on many different
implementations of the appropriate collection interface
70. General Purpose Implementations
Collection
Set List Queue
SortedSet
Map
Sorted Map
HashSet HashMap
List<String> list1 = new ArrayList<String>(c);
ArrayList
TreeSet TreeMap
LinkedList
List<String> list2 = new LinkedList<String>(c);
71. final
• final member data
Constant member
• final member function
The method can’t be
overridden.
• final class
‘Base’ is final, thus it
can’t be extended
final class Base {
final int i=5;
final void foo() {
i=10;
//what will the compiler say
about this?
}
}
class Derived extends Base {
// Error
// another foo ...
void foo() {
}
}
(String class is final)
72. final
final class Base {
final int i=5;
final void foo() {
i=10;
}
}
class Derived extends Base {
// Error
// another foo ...
void foo() {
}
}
Derived.java:6: Can't subclass final classes: class Base
class class Derived extends Base {
^
1 error
73. IO - Introduction
• Definition
– Stream is a flow of data
• characters read from a file
• bytes written to the network
• …
• Philosophy
– All streams in the world are basically the same.
– Streams can be divided (as the name “IO” suggests) to Input and
Output streams.
• Implementation
– Incoming flow of data (characters) implements “Reader” (InputStream for
bytes)
– Outgoing flow of data (characters) implements “Writer” (OutputStream for
bytes –eg. Images, sounds etc.)
74. Exception - What is it and why do I care?
Definition: An exception is an event that
occurs during the execution of a program
that disrupts the normal flow of instructions.
• Exception is an Object
• Exception class must be descendent of Throwable.
75. Exception - What is it and why do I care?(2)
By using exceptions to manage errors, Java
programs have the following advantages over
traditional error management techniques:
1: Separating Error Handling Code from "Regular"
Code
2: Propagating Errors Up the Call Stack
3: Grouping Error Types and Error Differentiation
76. readFile {
open the file;
determine its size;
allocate that much memory;
read the file into memory;
close the file;
}
1: Separating Error Handling Code from "Regular" Code (1)
77. errorCodeType readFile {
initialize errorCode = 0;
open the file;
if (theFileIsOpen) {
determine the length of the file;
if (gotTheFileLength) {
allocate that much memory;
if (gotEnoughMemory) {
read the file into memory;
if (readFailed) {
errorCode = -1;
}
} else {
errorCode = -2;
}
} else {
errorCode = -3;
}
close the file;
if (theFileDidntClose && errorCode == 0) {
errorCode = -4;
} else {
errorCode = errorCode and -4;
}
} else {
errorCode = -5;
}
return errorCode;
}
1: Separating Error Handling Code from "Regular" Code (2)
78. readFile {
try {
open the file;
determine its size;
allocate that much memory;
read the file into memory;
close the file;
} catch (fileOpenFailed) {
doSomething;
} catch (sizeDeterminationFailed) {
doSomething;
} catch (memoryAllocationFailed) {
doSomething;
} catch (readFailed) {
doSomething;
} catch (fileCloseFailed) {
doSomething;
}
}
1: Separating Error Handling Code from "Regular" Code (3)