• 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
  • /
  • Programming
  • /
  • Arrays

Frequently Asked Java Programming - Arrays Technical Interview Questions

Java Select Another Category Arrays 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 (0) UnSolved Question (7)
Pages: 11
Advertisements

(#M40167128) JAVA QUESTION Exceptions Keep an EYE Keep an eye puzzle Keep an eye puzzle

Exception is an abnormal event or error that occurs during ________

A. Runtime
B. Compile time
C. any time - unpredictable
D. Any of these options

Asked In Java Jax (3 years ago)
Unsolved Read Solution (3)
Is this Puzzle helpful?   (0)   (2) Submit Your Solution Arrays

(#M40167126) JAVA QUESTION static import Keep an EYE Keep an eye puzzle Keep an eye puzzle

Identify the correct options from the classes provided below.
More than one may be correct.

A. import static edu.ABC.model.Account.*;
public class Loan {
public double getInterest() {
return INTEREST_RATE;
}
}

B. import static edu.ABC.model.Account ;
public class Loan {
public double getInterest() {
return INTEREST_RATE;
}
}

C. import edu.ABC.model.Account ;
public class Loan {
public double getInterest() {
return Account.INTEREST_RATE;
}
}

D. package edu.ABC.model;
public class Loan {
public double getInterest() {
return INTEREST_RATE;
}
}

Asked In Java Jax (3 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (1)   (1) Submit Your Solution Arrays
Advertisements

(#M40154942) JAVA QUESTION coding Keep an EYE Keep an eye puzzle Keep an eye puzzle

Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words.

Demonstrate the usage of this function from a main program.

Example:
Parameter: “jack and jill went up a hill”
Return Value: “kcaj dna llij tnew pu a llih”

Asked In Java jagrti porwal (9 years ago)
Unsolved Read Solution (10)
Is this Puzzle helpful?   (10)   (1) Submit Your Solution Arrays

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

21. you have three dice each side is numbered as 1,2,3,4,5,6 .you have to take a
number from user check that number as sum of any side number of these
three dice.like we take number as 5 then the possibility are (1,1,3) (1,2,2)
(1,3,1) (2,1,2) (2,2,1) (3,1,1) and is 6 possibility. So write to a program for that.

Asked In Java Varun Kumar yr (5 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (6)   (5) Submit Your Solution Arrays

(#M40155912) JAVA QUESTION String Keep an EYE Keep an eye puzzle Keep an eye puzzle

Can we create a String object by using an array of characters?
[1] If Yes, then how?
[2] If No, then why?

Asked In Java Rishikesh Agrawani (9 years ago)
Unsolved Read Solution (5)
Is this Puzzle helpful?   (15)   (2) Submit Your Solution Arrays

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

how can we print a statement in java with out main method in the java 7 version

Asked In Java PRABHANJAN (9 years ago)
Unsolved Read Solution (12)
Is this Puzzle helpful?   (14)   (4) Submit Your Solution Arrays

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

You have a block of platinum that can be exchanged in your bank either for cash or for smaller blocks of platinum. If you exchange a block of m grams, you get three blocks of weight m/2, m/3 and m/4 grams each. You don't get any fractional part, as the division process rounds down the value. If you exchange the block of platinum for cash, you get m units of currency. You can do any number of exchanges for smaller blocks or currency.
Given the value of a block in grams as input, write a program that would print the largest possible currency value that you can receive as the output. Assume that the maximum value of a block that can be given as an input is 1,000,000,000 grams and the minimum value is 2 grams.

Asked In Java kumar anand (10 years ago)
Unsolved Read Solution (1)
Is this Puzzle helpful?   (11)   (10) Submit Your Solution Arrays
Keep an EYE (0)
Solved Question (0) UnSolved Question (7)
Pages: 11
  • Login
  • Register

Resend

Sponsored Links

Advertisements

Challenger of the Day

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

Maths Quotes

All I wanted to do was put together one of the best home maths systems in the world, and that's what we've done. I've loved numbers since I was two or three, and I get really excited about them. Now, I'm allowing myself to get excited about things. If you

KEERTHI

Success can be achieved by integration of small goals and differentiation of negative thoughts.

Anuj Rai

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

Now enjoy Offline Access of latest Question.

Get M4maths app to avail expert's solution and latest selected questions.

Download m4maths app now

  • 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