Define a class population with three methods- addPopulation(), printPopulation(), population(). addPopulation() takes two arguments- countryname in the form of string and population as int. It needs to store that value in a single structure. population() takes countryname as input and displays its population. If that countryname isn't present in the list, the output should be zero. printPopulation() prints all the countries with their respective population in tabular form.
Java Engineer Interview Questions
30,841 java engineer interview questions shared by candidates
Technical round all basic question of java
2 Java codes to check the aptitude
why this job why squertz
Singleton Design pattern
Tell me something about yourself
Questions with each carrying marks and it was like internal paper for 25 marks
Did you have problems with a superior?
Write a function to find a number from a sorted array?
1)what is abstract? 2)Abstract vs Interface? 3)Is it neccesary to create abstract method if class is already abstract? 4)Deep question about inheritance, like-which class implement which interface....?
Viewing 631 - 640 interview questions