answersLogoWhite

0

What else can I help you with?

Related Questions

AMU Entrance result for class1?

adil


How do you make lesson plan in Hindi for class1?

mary smitha


Factorial of a number using do while loop in C?

this is the java code to enjoy convert it to C or take the idea and go on. why ?! because the syntax is the same !! file name : Class1.java ------------------------ package mypackage1; public class Class1 { public long fact(int a) { int answer = a; do { if (a==0) { return a; } answer = a*(--a); } while(a<=0); return answer; } public static void main(String [] arg) { Class1 c1 = new Class1(); System.out.println(c1.fact(4)); } ------------------- note: the code will work will all java versions enjoy the coding


14 Write a program to change the case of the given string?

public class class1{public void changeCase(String str){String str1=str.toUpperCase();String str2=str.toLowerCase();System.out.println(str1);System.out.println(str2);System.out.println("After concatenation "+("to".concat("get").concat("her")));}public static void main(String[] args){class1 c1=new class1();c1.changeCase("Hello");}}


How can you add images into a css class and display it using span tag?

You would give the CSS class a background of that image, then assign it using a class attribute in your span tag. For example, your class's name will be class1, and your image will be named 'myimage.jpg'. CSS: .class1{ background-image:url('myimage.jpg'); } Then, for your HTML span tag: <span class="class1"> Add a lot of ' ' here until you can see your image. </span>


Is a broom a class1 lever or a class 2 lever or a class 3 lever?

class 3


How do you create an object for anonymous class?

public class Class1 { protected InnerClass1 ic; public Class1() { ic = new InnerClass1(); } public void displayStrings() { System.out.println(ic.getString() + "."); System.out.println(ic.getAnotherString() + "."); } static public void main(String[] args) { Class1 c1 = new Class1(); c1.displayStrings(); } protected class InnerClass1 { public String getString() { return "InnerClass1: getString invoked"; } public String getAnotherString() { return "InnerClass1: getAnotherString invoked"; } } } we can do like . crieate inner class instanve in side of main class defalut consiter . use the object we do the our bz logic


How Can i compile group of java files once?

You can simply list them with spaces separating each file name: javac class1.java class2.java


What are the requirements for the FAA first class medical exam?

Take a look at this link. It helped me to get a clear picture about the requirements http://flightphysical.com/part67/Class1/67subb.htm


What are return statements in java?

you can understand what is the purpose of return in java after this simple example Basically return use in java to return some values from a method note: this sample will work on all java versions, i test it on JDK 1.4 enjoy the code. file name : Class1.java ----- package mypackage1; //package name public class Class1 //class name + file name the { public String add(int a,int b) //a method in the class; its type is String and it take a and b variables; a and b are int { int answer = a+b; //this is some code in the class; maybe some operations; no need to know whats happening in this method System.out.println("I'm in Class1"); //this is some code in the class; maybe some operations; no need to know whats happening in this method return " I'm the returned value "+ answer; ////this is what you need to take from the method } public static void main(String [] arg) { Class1 c1 = new Class1(); //creating c1 object from Class1 Class System.out.println(c1.add(10,6)); //printing the returned values from the method; } } ----------------- output: I'am in Class1 I'am the returned value 16


How many submarines does INDIA have?

currently we are having 15 submarines10 sindhughosh class 4 sfifhukumar class1 akula and another 15 submarines are in under construction of which 3 are arihanth class n 6 are scopene class


Define Class1 and class2 preservatives as per PFA Act?

Class 1 preservatives are those preservative which are ectracted naturaly and are not required to get allowance to be used by regulations but class 2 preservatives are those which are required to be allpwed by regulations and are generaly synthetic chemical substances.