Adblocker Detected

Adblocker

Quizack provides Online Quiz and Practice MCQs for Free. Please disable your Ad-Blocker so we can earn from ads and keep this project alive.

JSharp - J# Skill Assessment

ADVERTISEMENT
Quizack provides JSharp - J# MCQ practice question answers in an interactive format.

JSharp - J# MCQ

Learn and practice your skills with our MCQ question answers to improve your knowledge. MCQs list

Start Practice with MCQs

JSharp - J# Online Quiz

Quizack 10 minutes test will assess your knowledge and give you comprehensive results along feedback.

Start Quiz

JSharp - J# PDF Download

Download Free JSharp - J# MCQ questions answers PDF to practice and learn while are offline.

Download PDF

 

Used by 100s of Jobseekers and students

Used by 100s of Jobseekers and students

Focused questions for skill assessment

Focused questions for skill assessment

Premium questions with correct answers

Premium questions with correct answers

Related Skill Assessment

Free Sample Questions for JSharp - J#

You want a component to resize vertically, but not horizontally. How should it be placed?

BorderLayout in the North or South location

FlowLayout as the first component

BorderLayout in the East or West location

BorderLayout in the Center location

GridLayout 

Answer:
BorderLayout in the East or West location

You have created the following class to print some numbers:

public class PrintNumber {
         int a;
         int b;
        
         public void basefunt() {
            a = 0;
            b = 0;
            int[] c = { 0 };
            modify(b, c);
                System.out.println("" + a  + b + c[0]);
         }
    
         public void modify(int b, int[] c) {
            a = 1;
            b = 1;
            c[0] = 1;
         }

          public static void main(String args[]) {
            PrintNumber  p = new PrintNumber();
            p.basefunt();
         }
       }

What will be the output?

000

101

001

110

100

Answer:
101

ADVERTISEMENT
ADVERTISEMENT