SlideShare a Scribd company logo
1 of 3
Download to read offline
Object Oriented Programming(EE 604C) www.oopusingjava.webs.com
1
Basic concepts of OOP
1. What is Object oriented Programming? Difference from structured programming?
2. Write 3 important advantages of Object Oriented Programming? Benefits of OOP
3. What do you mean by Objects and Classes? What is bottom up programming approach & top-down
approach?
4. Short Notes on: Data Abstraction, Encapsulation, Inheritance, Polymorphism, Dynamic Binding.
5. 5 most important features of Java(Object Oriented, Robust and secure Platform independent portable ,
Multithreaded ,Compiled and Interpreted)
6. Difference between java and c, java and C++
7. Contents of Java Development Kit, process of building and running java application programs
8. Short notes: JVM, Java Runtime Environment
9. What do you mean by Bytecode? Why java is called compiled and interpreted?
10. Why public static void main() is used ?
Class Objects and Methods
1. What do you mean by a Class? What are Objects?
2. What are fields and methods of a class? How to access each member of a class or objects?
3. How many keywords are there in JAVA
4. Why Java is machine neutral?
5. What are the basic data types in Java? Give the size in bytes of each.
6. What are Boolean variables? For what purpose they are used
7. What do you mean by type casting? Why it is required in programming? What is up-casting, widening or
narrowing casting?
8. Short notes: Scope of a variable, constant, variable.
9. What are the different Arithmetic operators in Java? Describe briefly the action of modulo division operator
10. What is enhanced for loop or for-each loop in java? Labeled loops
11. What is a ternary operator or short hand if-else operator? Explain Instanceof operator and dot operator
12. What do you mean by constructors? Describe with example.
13. What is method overloading? Describe with an example
14. What is method overriding? Give example. Difference between Method overloading and overriding
15. What are static members? What are the restrictions of using static methods
16. What is finalization? Why finalize() is used?
17. What are the different visibility controllers or modifiers in Java? Briefly describe each of them
18. When do declare a method or class final?
19. How do we invoke a constructor?
20. How does a class accomplish data hiding?
Object Oriented Programming(EE 604C) www.oopusingjava.webs.com
2
Arrays and Strings
1. What are arrays? What are the two forms of declaring an array?
2. How we can obtain the length of an array
3. What are variable size arrays? Give examples
4. What are Strings in Java?
5. Compare between Strings and character arrays?
6. What are the two String Classes in java(String and StringBuffer)
7. Briefly Describe(with examples) the following String methods: toLowerCase(), toUpperCase(), replace(),
length(), equals(), indexOf(), compareTo(), cancat(), subString(),equalsIgnorecase(), toCharArray(), tostring()
8. What do you immutable and mutable Strings? What is use of toString() method?
9. What are the basic difference between String and StringBuffer Class?
Command line arguments and basics of I/O operations
1. What do you mean by Command Line Arguments? Describe with an example.
2. How Command line Arguments are received by a Java Program.
3. What type of objects are the command Line Arguments in Java
Inheritance and Multiple Inheritance(Interfaces)
1. What do you mean by inheritance? What are the different forms of inheritance in Java? Describe briefly each
one
2. What is super class and sub class? Explain single inheritance with an example
3. What is the use of super() in a sub class constructor. Explain with an example
4. What are the conditions for using keyword super in a sub class constructor?
5. How we can access the super class members (both fields and methods) from the sub-class by using keyword
super
6. What is an interface? How do we tell Java that the class we are creating implements a particular interface?
7. What are the major differences between an interface and a class?
8. How would you inherit an interface?
9. How to implement the concept of multiple inheritance using interfaces
Packages
1. What is a package? How do we tell Java that we want to use a particular package in a file
2. Discuss how to design a package. Usefulness of using package in Java program
3. How do we add a class or an interface to a package
4. How would you protect a class from accidental access?
5. How to import a package in a program. What is static import?
Exception handling
1. What is an Exception? How do define a try block? How do we define a catch block?
2. What are the most common types of errors that occur in Java? Is it necessary to catch all types of exceptions
3. Can we use multiple catch blocks with one try block. Explain with example.
4. Create a try block that is likely to generate three types of exception and then incorporate necessary catch
blocks to catch and handle them appropriately.
5. What is a finally block? When and how is it used? Explain briefly by an example
6. What do mean by checked and unchecked exceptions
Multithreading
1. What is a thread?
2. What is the difference between multiprocessing and multithreading?
3. What are the different ways of creating threads?
4. What Java interface must be implemented by all threads?
5. How do we start a thread?
6. What are the two methods by which we may stop threads?
7. Describe the complete life cycle of a thread.
8. What is the difference between suspending and stopping a thread?
9. How do we set priorities for threads?
10. What is synchronization? When do we use it?
Object Oriented Programming(EE 604C) www.oopusingjava.webs.com
3
11. What is difference between using run() and start() a thread?
12. Which one is good way of creating threads: implementing or by extending
13. What is difference between yield() and sleep() methods
14. What do you mean by deadlock in multithreading? How to prevent deadlock?
Applet Programming
1. What is an applet? What is a local applet? What is an remote applet?
2. How an applet does works in a client/server relationship?
3. How do applets differ from application programs?
4. How many arguments can be passed to an applet using <PARAM> tag
5. Describe the life cycle of an applet
6. Why do applet classes need to be declared as public?
7. Distinguish between init() and start() methods.
8. What is swing? How you can make an applet by using swing?

More Related Content

What's hot

JAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdfJAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdfnofakeNews
 
core java online training - eglobalsystems
core java online training - eglobalsystemscore java online training - eglobalsystems
core java online training - eglobalsystemsShikha Jaiswal
 
Java Concurrency Starter Kit
Java Concurrency Starter KitJava Concurrency Starter Kit
Java Concurrency Starter KitMark Papis
 
Class notes(week 9) on multithreading
Class notes(week 9) on multithreadingClass notes(week 9) on multithreading
Class notes(week 9) on multithreadingKuntal Bhowmick
 
Java/J2EE interview Qestions
Java/J2EE interview QestionsJava/J2EE interview Qestions
Java/J2EE interview QestionsArun Vasanth
 
Most Asked Java Interview Question and Answer
Most Asked Java Interview Question and AnswerMost Asked Java Interview Question and Answer
Most Asked Java Interview Question and AnswerTOPS Technologies
 
Ruby Object Design
Ruby Object DesignRuby Object Design
Ruby Object DesignEddie Lee
 
Ruby Object Design
Ruby Object DesignRuby Object Design
Ruby Object DesignEddie Lee
 
Java questions for interview
Java questions for interviewJava questions for interview
Java questions for interviewKuntal Bhowmick
 
25 java interview questions
25 java interview questions25 java interview questions
25 java interview questionsMehtaacademy
 
Java interview-quetions
Java interview-quetionsJava interview-quetions
Java interview-quetionsMehtaacademy
 
Object+oriented+programming+in+java
Object+oriented+programming+in+javaObject+oriented+programming+in+java
Object+oriented+programming+in+javaYe Win
 

What's hot (15)

JAVA QUESTIONS -6
JAVA QUESTIONS -6JAVA QUESTIONS -6
JAVA QUESTIONS -6
 
JAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdfJAVA VIVA QUESTIONS_CODERS LODGE.pdf
JAVA VIVA QUESTIONS_CODERS LODGE.pdf
 
core java online training - eglobalsystems
core java online training - eglobalsystemscore java online training - eglobalsystems
core java online training - eglobalsystems
 
Java Concurrency Starter Kit
Java Concurrency Starter KitJava Concurrency Starter Kit
Java Concurrency Starter Kit
 
Class notes(week 9) on multithreading
Class notes(week 9) on multithreadingClass notes(week 9) on multithreading
Class notes(week 9) on multithreading
 
Java/J2EE interview Qestions
Java/J2EE interview QestionsJava/J2EE interview Qestions
Java/J2EE interview Qestions
 
Most Asked Java Interview Question and Answer
Most Asked Java Interview Question and AnswerMost Asked Java Interview Question and Answer
Most Asked Java Interview Question and Answer
 
Ruby Object Design
Ruby Object DesignRuby Object Design
Ruby Object Design
 
Ruby Object Design
Ruby Object DesignRuby Object Design
Ruby Object Design
 
java - oop's in depth journey
java - oop's in depth journeyjava - oop's in depth journey
java - oop's in depth journey
 
Java questions for interview
Java questions for interviewJava questions for interview
Java questions for interview
 
25 java interview questions
25 java interview questions25 java interview questions
25 java interview questions
 
Threads in Java
Threads in JavaThreads in Java
Threads in Java
 
Java interview-quetions
Java interview-quetionsJava interview-quetions
Java interview-quetions
 
Object+oriented+programming+in+java
Object+oriented+programming+in+javaObject+oriented+programming+in+java
Object+oriented+programming+in+java
 

Similar to Probable questions for semester exam

Java question bank
 Java question bank Java question bank
Java question bankhitzsmakz
 
4Abstraction-220203-164234Question.pdf
4Abstraction-220203-164234Question.pdf4Abstraction-220203-164234Question.pdf
4Abstraction-220203-164234Question.pdfadarsh76530
 
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...SynergisticMedia
 
What are the most common java interview questions
What are the most common java interview questionsWhat are the most common java interview questions
What are the most common java interview questionsEdUKoT
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questionssoniajessica2
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview QuestionsKuntal Bhowmick
 
Class test 1 sample and suggestive questions
Class test 1 sample and suggestive questionsClass test 1 sample and suggestive questions
Class test 1 sample and suggestive questionsKuntal Bhowmick
 
Softvamp techno solutions technical questions for java 2 years experience con...
Softvamp techno solutions technical questions for java 2 years experience con...Softvamp techno solutions technical questions for java 2 years experience con...
Softvamp techno solutions technical questions for java 2 years experience con...SoftvampTechnoSoluti
 
Java Faqs useful for freshers and experienced
Java Faqs useful for freshers and experiencedJava Faqs useful for freshers and experienced
Java Faqs useful for freshers and experiencedyearninginjava
 
Top 371 java fa qs useful for freshers and experienced
Top 371 java fa qs useful for freshers and experiencedTop 371 java fa qs useful for freshers and experienced
Top 371 java fa qs useful for freshers and experiencedGaurav Maheshwari
 
JAVA interview questions for fresher
JAVA interview questions for fresherJAVA interview questions for fresher
JAVA interview questions for fresherMYTHILIKRISHNAN4
 
20 most important java programming interview questions
20 most important java programming interview questions20 most important java programming interview questions
20 most important java programming interview questionsGradeup
 
Core java interview questions
Core java interview questionsCore java interview questions
Core java interview questionsRohit Singh
 
Java interview questions
Java interview questionsJava interview questions
Java interview questionsSoba Arjun
 
1) What is your background programming with Java2) What are the J.pdf
1) What is your background programming with Java2) What are the J.pdf1) What is your background programming with Java2) What are the J.pdf
1) What is your background programming with Java2) What are the J.pdffckindswear
 
Data Structure Interview Questions & Answers
Data Structure Interview Questions & AnswersData Structure Interview Questions & Answers
Data Structure Interview Questions & AnswersSatyam Jaiswal
 

Similar to Probable questions for semester exam (20)

Java interview question
Java interview questionJava interview question
Java interview question
 
Java question bank
 Java question bank Java question bank
Java question bank
 
4Abstraction-220203-164234Question.pdf
4Abstraction-220203-164234Question.pdf4Abstraction-220203-164234Question.pdf
4Abstraction-220203-164234Question.pdf
 
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
Top 30 Java Phone Interview Questions Answers for Freshers, 1 to 2 Years Expe...
 
What are the most common java interview questions
What are the most common java interview questionsWhat are the most common java interview questions
What are the most common java interview questions
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Class test 1 sample and suggestive questions
Class test 1 sample and suggestive questionsClass test 1 sample and suggestive questions
Class test 1 sample and suggestive questions
 
Softvamp techno solutions technical questions for java 2 years experience con...
Softvamp techno solutions technical questions for java 2 years experience con...Softvamp techno solutions technical questions for java 2 years experience con...
Softvamp techno solutions technical questions for java 2 years experience con...
 
Java Faqs useful for freshers and experienced
Java Faqs useful for freshers and experiencedJava Faqs useful for freshers and experienced
Java Faqs useful for freshers and experienced
 
Smart material - Unit 2 (1).pdf
Smart material - Unit 2 (1).pdfSmart material - Unit 2 (1).pdf
Smart material - Unit 2 (1).pdf
 
Smart material - Unit 2 (1).pdf
Smart material - Unit 2 (1).pdfSmart material - Unit 2 (1).pdf
Smart material - Unit 2 (1).pdf
 
Top 371 java fa qs useful for freshers and experienced
Top 371 java fa qs useful for freshers and experiencedTop 371 java fa qs useful for freshers and experienced
Top 371 java fa qs useful for freshers and experienced
 
JAVA interview questions for fresher
JAVA interview questions for fresherJAVA interview questions for fresher
JAVA interview questions for fresher
 
Core_Java_Interview.pdf
Core_Java_Interview.pdfCore_Java_Interview.pdf
Core_Java_Interview.pdf
 
20 most important java programming interview questions
20 most important java programming interview questions20 most important java programming interview questions
20 most important java programming interview questions
 
Core java interview questions
Core java interview questionsCore java interview questions
Core java interview questions
 
Java interview questions
Java interview questionsJava interview questions
Java interview questions
 
1) What is your background programming with Java2) What are the J.pdf
1) What is your background programming with Java2) What are the J.pdf1) What is your background programming with Java2) What are the J.pdf
1) What is your background programming with Java2) What are the J.pdf
 
Data Structure Interview Questions & Answers
Data Structure Interview Questions & AnswersData Structure Interview Questions & Answers
Data Structure Interview Questions & Answers
 

More from Kuntal Bhowmick

Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loopsMultiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loopsKuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...Kuntal Bhowmick
 
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...Kuntal Bhowmick
 
Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)Kuntal Bhowmick
 
1. introduction to E-commerce
1. introduction to E-commerce1. introduction to E-commerce
1. introduction to E-commerceKuntal Bhowmick
 
Computer graphics question for exam solved
Computer graphics question for exam solvedComputer graphics question for exam solved
Computer graphics question for exam solvedKuntal Bhowmick
 
DBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsDBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsKuntal Bhowmick
 
Operating system Interview Questions
Operating system Interview QuestionsOperating system Interview Questions
Operating system Interview QuestionsKuntal Bhowmick
 
Computer Network Interview Questions
Computer Network Interview QuestionsComputer Network Interview Questions
Computer Network Interview QuestionsKuntal Bhowmick
 
Distributed operating systems cs704 a class test
Distributed operating systems cs704 a class testDistributed operating systems cs704 a class test
Distributed operating systems cs704 a class testKuntal Bhowmick
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solutionKuntal Bhowmick
 
CS291(C Programming) assignment
CS291(C Programming) assignmentCS291(C Programming) assignment
CS291(C Programming) assignmentKuntal Bhowmick
 

More from Kuntal Bhowmick (20)

Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 8 -- int...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
Multiple Choice Questions on JAVA (object oriented programming) bank 7 -- abs...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
Multiple Choice Questions on JAVA (object oriented programming) bank 6 -- inh...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
Multiple Choice Questions on JAVA (object oriented programming) bank 5 -- mem...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loopsMultiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
Multiple Choice Questions on JAVA (object oriented programming) bank 4 -- loops
 
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
Multiple Choice Questions on JAVA (object oriented programming) bank 3 -- cla...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
Multiple Choice Questions on JAVA (object oriented programming) bank 2 -- bas...
 
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
Multiple Choice Questions on JAVA (object oriented programming) bank 1 -- int...
 
Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)Hashing notes data structures (HASHING AND HASH FUNCTIONS)
Hashing notes data structures (HASHING AND HASH FUNCTIONS)
 
1. introduction to E-commerce
1. introduction to E-commerce1. introduction to E-commerce
1. introduction to E-commerce
 
Computer graphics question for exam solved
Computer graphics question for exam solvedComputer graphics question for exam solved
Computer graphics question for exam solved
 
DBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsDBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental concepts
 
Operating system Interview Questions
Operating system Interview QuestionsOperating system Interview Questions
Operating system Interview Questions
 
Computer Network Interview Questions
Computer Network Interview QuestionsComputer Network Interview Questions
Computer Network Interview Questions
 
C interview questions
C interview  questionsC interview  questions
C interview questions
 
C question
C questionC question
C question
 
Distributed operating systems cs704 a class test
Distributed operating systems cs704 a class testDistributed operating systems cs704 a class test
Distributed operating systems cs704 a class test
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solution
 
CS291(C Programming) assignment
CS291(C Programming) assignmentCS291(C Programming) assignment
CS291(C Programming) assignment
 
C programming guide new
C programming guide newC programming guide new
C programming guide new
 

Recently uploaded

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 

Recently uploaded (20)

Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 

Probable questions for semester exam

  • 1. Object Oriented Programming(EE 604C) www.oopusingjava.webs.com 1 Basic concepts of OOP 1. What is Object oriented Programming? Difference from structured programming? 2. Write 3 important advantages of Object Oriented Programming? Benefits of OOP 3. What do you mean by Objects and Classes? What is bottom up programming approach & top-down approach? 4. Short Notes on: Data Abstraction, Encapsulation, Inheritance, Polymorphism, Dynamic Binding. 5. 5 most important features of Java(Object Oriented, Robust and secure Platform independent portable , Multithreaded ,Compiled and Interpreted) 6. Difference between java and c, java and C++ 7. Contents of Java Development Kit, process of building and running java application programs 8. Short notes: JVM, Java Runtime Environment 9. What do you mean by Bytecode? Why java is called compiled and interpreted? 10. Why public static void main() is used ? Class Objects and Methods 1. What do you mean by a Class? What are Objects? 2. What are fields and methods of a class? How to access each member of a class or objects? 3. How many keywords are there in JAVA 4. Why Java is machine neutral? 5. What are the basic data types in Java? Give the size in bytes of each. 6. What are Boolean variables? For what purpose they are used 7. What do you mean by type casting? Why it is required in programming? What is up-casting, widening or narrowing casting? 8. Short notes: Scope of a variable, constant, variable. 9. What are the different Arithmetic operators in Java? Describe briefly the action of modulo division operator 10. What is enhanced for loop or for-each loop in java? Labeled loops 11. What is a ternary operator or short hand if-else operator? Explain Instanceof operator and dot operator 12. What do you mean by constructors? Describe with example. 13. What is method overloading? Describe with an example 14. What is method overriding? Give example. Difference between Method overloading and overriding 15. What are static members? What are the restrictions of using static methods 16. What is finalization? Why finalize() is used? 17. What are the different visibility controllers or modifiers in Java? Briefly describe each of them 18. When do declare a method or class final? 19. How do we invoke a constructor? 20. How does a class accomplish data hiding?
  • 2. Object Oriented Programming(EE 604C) www.oopusingjava.webs.com 2 Arrays and Strings 1. What are arrays? What are the two forms of declaring an array? 2. How we can obtain the length of an array 3. What are variable size arrays? Give examples 4. What are Strings in Java? 5. Compare between Strings and character arrays? 6. What are the two String Classes in java(String and StringBuffer) 7. Briefly Describe(with examples) the following String methods: toLowerCase(), toUpperCase(), replace(), length(), equals(), indexOf(), compareTo(), cancat(), subString(),equalsIgnorecase(), toCharArray(), tostring() 8. What do you immutable and mutable Strings? What is use of toString() method? 9. What are the basic difference between String and StringBuffer Class? Command line arguments and basics of I/O operations 1. What do you mean by Command Line Arguments? Describe with an example. 2. How Command line Arguments are received by a Java Program. 3. What type of objects are the command Line Arguments in Java Inheritance and Multiple Inheritance(Interfaces) 1. What do you mean by inheritance? What are the different forms of inheritance in Java? Describe briefly each one 2. What is super class and sub class? Explain single inheritance with an example 3. What is the use of super() in a sub class constructor. Explain with an example 4. What are the conditions for using keyword super in a sub class constructor? 5. How we can access the super class members (both fields and methods) from the sub-class by using keyword super 6. What is an interface? How do we tell Java that the class we are creating implements a particular interface? 7. What are the major differences between an interface and a class? 8. How would you inherit an interface? 9. How to implement the concept of multiple inheritance using interfaces Packages 1. What is a package? How do we tell Java that we want to use a particular package in a file 2. Discuss how to design a package. Usefulness of using package in Java program 3. How do we add a class or an interface to a package 4. How would you protect a class from accidental access? 5. How to import a package in a program. What is static import? Exception handling 1. What is an Exception? How do define a try block? How do we define a catch block? 2. What are the most common types of errors that occur in Java? Is it necessary to catch all types of exceptions 3. Can we use multiple catch blocks with one try block. Explain with example. 4. Create a try block that is likely to generate three types of exception and then incorporate necessary catch blocks to catch and handle them appropriately. 5. What is a finally block? When and how is it used? Explain briefly by an example 6. What do mean by checked and unchecked exceptions Multithreading 1. What is a thread? 2. What is the difference between multiprocessing and multithreading? 3. What are the different ways of creating threads? 4. What Java interface must be implemented by all threads? 5. How do we start a thread? 6. What are the two methods by which we may stop threads? 7. Describe the complete life cycle of a thread. 8. What is the difference between suspending and stopping a thread? 9. How do we set priorities for threads? 10. What is synchronization? When do we use it?
  • 3. Object Oriented Programming(EE 604C) www.oopusingjava.webs.com 3 11. What is difference between using run() and start() a thread? 12. Which one is good way of creating threads: implementing or by extending 13. What is difference between yield() and sleep() methods 14. What do you mean by deadlock in multithreading? How to prevent deadlock? Applet Programming 1. What is an applet? What is a local applet? What is an remote applet? 2. How an applet does works in a client/server relationship? 3. How do applets differ from application programs? 4. How many arguments can be passed to an applet using <PARAM> tag 5. Describe the life cycle of an applet 6. Why do applet classes need to be declared as public? 7. Distinguish between init() and start() methods. 8. What is swing? How you can make an applet by using swing?