Skip to main content

Important Questions for MTE



1. Differences between:
(i) >> and >>> operator
(ii) & and &&, | and || operator
(iii) JDK, JVM and JRE
(iv) Overloading and overriding
(v) Method and Constructor
(vi) final and finally
(vii) throw and throws
(viii) checked exception and unchecked exception
(ix) Exception and Error
(x) Abstract class and Interface

2. Nested classes and Inner class (Local class and Anonymous class) with Example
3. Defining and importing the packages
4. Jagged Array, Array as an Argument and as a return type of any method
5. Methods of String and StringBuffer and ArrayList class
6. Various Access modifiers (public, protected, private and default)
7. this, super, static and final keywords
8. Constructor Chaining
9. Chained Exceptions and Custom Exceptions
10. Wrapper classes and need of Wrapper class.

Comments

  1. Good Post! Thank you so much for sharing the nice post, it was so good to read and useful to improve
    Java Training in Electronic City

    ReplyDelete

Post a Comment

Popular posts from this blog

Practice Set

1. Write a program to create a class Voter which contains attributes name, date_of_birth and voter_id and voter has a Voter_Card. Provide appropriate constructor to initialize all the attributes of the Voter but voter id must be assigned automatically only when the age of the voter is greater than or equal to 18 years. VoterCard is a nested class with attributes voter_id and Voter_name. Make sure that voter card is created only when user is a valid voter and if it is already created then must not be assigned the new voter id. 2. Write a program to define two interfaces UGC and AICTE both having a default method int getAdmission() to take the admission and an abstract method String payFee(). getAdmission() in UGC must ask the percentage in qualifying exam and if the percentage >= 60 then generate the registration number and return. getAdmission() is AICTE must ask the user to join the counseling after 5 days and display the date of counseling and return the counseling token numb...

Practice Set: Unit-4

                                                                                                                Practice Set: Unit 4 1. What are the uses of super keyword in Java? Explain with a suitable example. 2. What are the various uses of final keyword in java? An abstract method can not be declared final. Why? 3. Differentiate between Abstract class and Interface. What do you mean by Functional interface and Lambda Expression?  ...

ETE Practice Set-1

                                                                 Mock Test-1 -----------------------------------------------------------------------------------------------------------------------------   1 (a) Write a program that reads 10 integers between 1 and 100 and counts the occurrences of each. Assume the input ends with 0.                                                         ...