• Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • English APP
  • login
  • Result
  • Today's Puzzle
    • Previous Puzzles
    • Prize & Rules
  • Discussion Board
    • Suggestion Board
    • Trending Articles
  • Maths Tricks
  • Placement Papers
    • Placement Questions
    • Interview Experience
    • Placed user Comment
    • Group Discussion
  • Walkins
    • Corporate Job Exam
    • Government Job Exam
    • Entrance Exam
  • Training
    • Internship
  • Placement Questions
  • /
  • Java

Frequently Asked Java interview questions and answers for freshers Page 12

Java Select Another Category Select Another Topic

Programming and Technical

  • Android 118
  • ASP.NET 60
  • C 459
  • C++ 448
  • DATA STRUCTURE 66
  • DBMS 77
  • ELECTRONICS 39
  • Java 261
  • OOPs Concepts 117
  • Operating Syst 103
  • RDBMS 109
  • UNIX 70

Java Question Topics

    Category (1)

    General Ability (3)

  • General Knowledge (3)
  • HR Interview (3)

  • Interview (3)
  • Logical Reasoning (5)

  • Blood Relations (1)
  • Coding Decoding (2)
  • Cryptography (1)
  • Seating Arrangement (1)
  • Numerical Ability (4)

  • Algebra (1)
  • Number System (1)
  • Profit and Loss (1)
  • Programming (124)

  • Arrays (7)
  • Basics (5)
  • Database (4)
  • Definition (25)
  • Functions (3)
  • Output (4)
  • Program (20)
  • Puzzles (1)
  • Technical (43)
  • Verbal Ability (1)

  • Miscellaneous (1)
Keep an EYE (0)
Solved Question (3) UnSolved Question (258)
Pages: 27FirstPrev891011121314151617NextLast
Advertisements

(#M40029414) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is a Java Bean?

A. A Java Bean is a software component that has been designed to be reusable in a variety of different environments.

Asked In Java MAN (12 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (3)   (0) Submit Your Solution General Knowledge

(#M40032822) JAVA QUESTION classes Keep an EYE Keep an eye puzzle Keep an eye puzzle

What if I write static public void instead of public static void?

Asked In Java PIYUSH (11 years ago)
Unsolved Read Solution (23)
Is this Puzzle helpful?   (28)   (9) Submit Your Solution Technical
Advertisements

(#M40033077) JAVA QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the java execute file

Asked In Java sabitha (11 years ago)
Unsolved Read Solution (22)
Is this Puzzle helpful?   (23)   (8) Submit Your Solution Definition

(#M40090461) JAVA QUESTION Keep an EYE Keep an eye puzzle Keep an eye puzzle

interview programing question

Asked In Java dibyajit debnath (10 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (2)   (7) Submit Your Solution Technical

(#M40029408) JAVA QUESTION java Keep an EYE Keep an eye puzzle Keep an eye puzzle

Q. What is the use of bin and lib in JDK?

A. Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all
packages

Solution
Ans:-Bin contains all tools such as javac, appletviewer, awt tool, etc., whereas lib contains API and all
packages


Like manish sir answer on facebook.

Asked In Java MAN (12 years ago)
Solved
Is this Puzzle helpful?   (2)   (1) Submit Your Solution Definition

(#M40153974) JAVA QUESTION sudoku Keep an EYE Keep an eye puzzle Keep an eye puzzle

875432103654

Asked In Java Gaurav Sharma (10 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (0)   (3) Submit Your Solution Database

(#M40018829) JAVA QUESTION JAVA QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the root class for all java
classes?

Asked In Java (12 years ago)
Unsolved Read Solution (7)
Is this Puzzle helpful?   (4)   (1) Submit Your Solution

(#M40154459) JAVA QUESTION no.of.uppercase lettere in paragraph Keep an EYE Keep an eye puzzle Keep an eye puzzle

import java.io.BufferedReader;
//import java.io.FileNotFoundException;
import java.io.FileReader;


public class Calculatefrompara {

private static BufferedReader bin;
public static void main(String[] args) throws Exception {
// TODO Auto-generated method stub


FileReader fin=new FileReader("test.txt");
bin = new BufferedReader(fin);

int Alphabets=0,digits=0,splchars=0,lowercase=0,uppercase=0;
String line=bin.readLine();

int i;
//char c1;
while(line!=null)
{
for( i=0;i=97 && j<=122)|| (j>=65 && j<=90))
{
Alphabets++;
}
else
if(j>=97 && j<=122)
{
lowercase++;
}

else
if(j>=65 && j<=90)
{
uppercase++;
}
else
if(j>=48 && j<=57)
{
digits++;
}
else
{
splchars++;
}


}
line=bin.readLine();


}

System.out.println("alphabets:"+Alphabets);
System.out.println("lowercase:"+lowercase);
System.out.println("uppercase:"+uppercase);
System.out.println("digits:"+digits);
System.out.println("splchrs:"+splchars);

}

}

Asked In Java ROHIT YADAV (9 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (2)   (1) Submit Your Solution Program

(#M40018856) JAVA QUESTION JAVA QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

Which cannot directly cause a thread to stop executing?
A. Calling the SetPriority() method on a Thread object.
B. Calling the wait() method on an object.
C. Calling notify() method on an object.
D. Calling read() method on an InputStream object.

Asked In Java (12 years ago)
Unsolved Read Solution (2)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution Program

(#M40018794) JAVA QUESTION JAVA QUESTIONS Keep an EYE Keep an eye puzzle Keep an eye puzzle

What is the difference between java
and c++?

Asked In Java (12 years ago)
Unsolved Read Solution (6)
Is this Puzzle helpful?   (0)   (0) Submit Your Solution Program
Keep an EYE (0)
Solved Question (3) UnSolved Question (258)
Pages: 27FirstPrev891011121314151617NextLast
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

no image
Dimple
India
Punjab
Time: 00:01:33
Points
19

Maths Quotes

A mathematician is a machine for turning coffee into theorems

ALFRED RENYI

With Mathematics you are Hero, without Mathematics you are Zero.

Piyush Pallaw

Placed User Comments

M4Math helped me a lot.

Vipul Chavan 5 years ago

Thanks m4 maths for helping to get placed in several companies.
I must recommend this website for placement preparations.

yash mittal 5 years ago
  • 2533K+Registerd user
  • 1774K+Engineers
  • 759K+MBA Asprirant
  • 3K+Enginnering College
  • 250+Company Exam
  • 150K+Interview Questions
  • Site Links
  • Home
  • Result
  • Today's Puzzle
  • Discussion Board
  • Maths Tricks
  • Advertise with us
  • Contact Us
  • Useful Info
  • Maths Quotes
  • Previous Puzzles
  • Prize
  • Privacy Policy
  • Disclaimer and Copyright
  • Terms and Conditions
  • Sitemap
  • Placement papers
  • TCS Placement Paper
  • HCL Placement Paper
  • INFOSYS Placement Paper
  • IBM Placement Paper
  • SYNTEL Placement Paper
  • TECHNICAL Interview
  • HR Interview
All rights are reserved to @m4maths.com