Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
![](https://s.yimg.com/ag/images/default_user_profile_pic_192sq.jpg)
Aditya
1/8000 shutter speed! Is it actually that fast or the work of a software?
We know some of the camera's which has a shutter speed of 1/1000s or 1/2000s or 1/8000s!
I mean the parts in the camera are delicate how can the move soo fast, wont it damage the camera or the shutter?
When shutter falling at such a high speed?
Or is it work of some software?
2 AnswersCameras8 years agoHow to give the value of a methods variable to Global in java?
Suppose this is a program.
import java.util.Scanner;
Class A {
int a1;
public void VAS ()
{
Scanner src=new Scanner(System.in);
int a1;
a1=src.nextInt();
}
}
Class B {
int b1;
public void VBS ()
{
Scanner src=new Scanner(System.in);
int b1;
b1=src.nextInt();
}
}
class C {
public void VCS
{
int c1;
VAS g= new VAS();
VBS h=new VBS();
c1=(g.a1 + h.b1);
System.out.println(c1);
}
}
class D
{
public static void main (String args[])
C c= new C();
c.VCS();
}
Now my problem is i want to add both the integers a1 and b1 in Class C's c1 variable.
But i don't want to call the whole methods i.e VAS and VBS. Just the variables.
I know that the values of variables inside a method cannot be accessed outside the class. Thats why i want to give there values to global variable and call the global variable.
I tried the program it shows "NullPointerException"
This is like a short e.g. of that program the original program has lot more variables and other things, soo i cant call the whole methods VBS and VAS. I just want to use the variable in those 2 methods too add them in C class.
2 AnswersSoftware8 years agoHow to give the value of a methods variable to Global in java?
Suppose this is a program.
import java.util.Scanner;
Class A {
int a1;
public void VAS ()
{
Scanner src=new Scanner(System.in);
int a1;
a1=src.nextInt();
}
}
Class B {
int b1;
public void VBS ()
{
Scanner src=new Scanner(System.in);
int b1;
b1=src.nextInt();
}
}
class C {
public void VCS
{
int c1;
VAS g= new VAS();
VBS h=new VBS();
c1=(g.a1 + h.b1);
System.out.println(c1);
}
}
class D
{
public static void main (String args[])
C c= new C();
c.VCS();
}
Now my problem is i want to add both the integers a1 and b1 in Class C's c1 variable.
But i don't want to call the whole methods i.e VAS and VBS. Just the variables.
I know that the values of variables inside a method cannot be accessed outside the class. Thats why i want to give there values to global variable and call the global variable.
I tried the program it shows "NullPointerException"
2 AnswersSoftware8 years agoWhat exactly does a "Processor" do in computer?
I know that it processes the data and gives the output and all that, have read it lot of times. But i want to know "How"!!!.
This is what i know, (I suppose i am right)
1) When we input something in GUI in human readable language/decimal number that data is compiled and goes into assembly level where it is converted into hexadecimal numbers.
2) Then the assembler converts it into machine code (Binary numbers) which goes into machine level where there 2 are values 1 and 0. 1 and 0 both are high and low voltage of currents.
3) And these 1's and 0's are passed to the processor where it does something and gives the output!
What happens there?
Suppose i have performed a simple calculation "2 + 2 = " on p.c, how will the processor give the output "4"? Is my question.
:) :)
5 AnswersProgramming & Design8 years agoHow to install Anroid operating system in mobile at home?
Android is just like Windows 7, XP etc etc.
So if we can format and install them in our PC, can i install Android operating system in my cell through any programme on internet and how?
Any steps and links?
Android 2.3 for Galaxy Pop.
2 AnswersSoftware9 years agoHave termination problem with do while loop in C++?
include<iostream.h>
#include<conio.h>
void main ()
{
clrscr ();
char clause[20];
do {
cin.getline(clause, 20, ',');
if (*clause) cout << "\t[" << clause << "]\";
} while (*clause);
getch ();
}
This is the programe. The problem is that everything is working properly except that the loop aint getting terminated. Not even with the [control D] command.
How can i termniate the loop?
PLease explain in detail.
Ohhh and i have C++ IDE.
4 AnswersProgramming & Design9 years agoU.S Or Iran who do you support?
Who according to you is right? Is U.S right for stopping Iran from enriching Uranium on suspicion of Iran making nuclear weapon or Iran cause every country has right to use aand develop nuclear energy?
Whats your take?
15 AnswersCurrent Events9 years agowhy cant we recharge our sim card without "scratching" the recharge coupon and typing random numbers?
i mean i just wanna know why! If i scratch a card recharge my cell then i randomly try the next few numbers...!!! But it never gets recharged or a message comes invalid number or something like that...
Just wanted to know generally why it happens so is there any technology that checks whether the recharge coupon is scratched or not? Or how it comes to know?
Asked many people but no one knew...
3 AnswersMobile Phones & Plans9 years agoCan tooo many android apps damage my system?
I have Galaxy Pop 2.3.6 ginger bread
I have rooted my cell recently. And these days i am downloading lots off apps like.
1. No frills - for under-clocking and over-clocking.
2. Picsay- for animating the pics.
3. Avast and Kaspersky - for anti-virus
4. supa pi- for calculating the stability of my processor even in over-clocking.
5. cacheRoot- to liberate my cell from temporary files.
6. Titanium backup- for keeping backup of all my apps.
7. Astro file manager
8. Tubemate- To download videos from youtube.
9. Adobe Reader and Document editor.
10. Talking tom 2.
So as you can see most off the apps are performance apps for improving the performance of my system.
But can soooo many apps downloading can damage my system in the long run. Will it put pressure on my processor?
3 AnswersPDAs & Handhelds9 years agoWhat exactly is instruction?
I here a lot of time about instructions in a computer so what exactly is instruction? and what do they do in the CPU?
4 AnswersSoftware9 years agoHow to root my Samsung Galaxy mini (gt-s5570s)? Needed for over-clocking...?
Okay so i just downloaded an app named "NO GRILLS CPU" which helps to overclocking and under-clocking my processor, but it is asking for "ROOTING".
So what exactly is rooting and how should i do it what are the steps required for ROOTING my android galaxy mini? :) :) :)
Ohhh and have 2.3 ginger bread...
1 AnswerPDAs & Handhelds9 years agowhy is while(1) infinite loop in C++ IDE?
3 AnswersRap and Hip-Hop9 years agoWhat will firewall exactly do in my android phone?
i just downloaded "Droidwall" firewall from android market. Just cause i heard it is good for mobile safety? But what does exactly do? and how will it protect my android phone? :)
2 AnswersSoftware9 years agoMy Galaxy Pop android 2.2 has been infected by a virus! :(?
My Galaxy Pop android 2.2 has been infected by a virus! :(?
The problems in my smartphone due to virus are like its volume gets mute after every few minutes, it brings my phone on silent mode as well as my accelarometer is not showing horizontal orientation.
The virus is not in the S.D card since i have scanned it on computer, it might be in the OS. Please suggest how can i remove the virus, also is there any good anti-virus app in android market to remove virus.
Also i am thinking of upgrading it to android 2.3 ginger bread, since doing this will format the system, will it automatically remove the virus?
Kindly help!!!
2 AnswersPDAs & Handhelds9 years agoMy Galaxy Pop android 2.2 has been infected by a virus! :(?
The problems in my smartphone due to virus are like its volume gets mute after every few minutes, it brings my phone on silent mode as well as my accelarometer is not showing horizontal orientation.
The virus is not in the S.D card since i have scanned it on computer, it might be in the OS. Please suggest how can i remove the virus, also is there any good anti-virus app in android market to remove virus.
Also i am thinking of upgrading it to android 2.3 ginger bread, since doing this will format the system, will it automatically remove the virus?
Kindly help!!!
3 AnswersMobile Phones & Plans9 years ago