• Register
0 votes
165 views

Problems:-

Can any one help with one of the query I am facing in declaring variable type
 
Declare a reference variable of type File named myFile.
 
Any Idea
7 5 3
5,380 points

Please log in or register to answer this question.

1 Answer

0 votes

Solutions:


While you declare a reference variable of type file  answer will be 

File myFile
 
Hope this will help you in your query to solve
8 6 2
10,530 points

Related questions

0 votes
0 answers 3 views
3 views
Problem: Declare a vector named scores of twenty-five elements of type int?
asked 5 days ago niyatiry 2.9k points
0 votes
1 answer 64 views
64 views
Problems: I am new in programming and my logic is not good, can anyone give the right solution? How can we declare an array named scores of twenty-five elements of type int?
asked Feb 13, 2020 maddi86 5.4k points
0 votes
1 answer 42 views
42 views
Problem: Declare a reference variable of type File named myFile?
asked Apr 6, 2020 ArifulIslam 7.5k points
1 vote
1 answer 3 views
3 views
Problem: Can we get vairiables type in prints ? C++ get type of variable.
asked Mar 26 PkGuy 13.1k points
0 votes
1 answer 17 views
17 views
Problem: Hello! I just started learning programming in Java with no prior knowledge of any other programming language. Today I attempted a quiz in which there was a question that asked me to declare a string variable and name it as ‘title’. I attempted the ... follows: string title; I have not worked with strings alot. So want to know whether my answer is correct or not? Thanks!
asked Feb 25 Code Learner 9.2k points
0 votes
1 answer 25 views
25 views
Problem: Why Iso c++ forbids variable length array?
asked Feb 14 jasimchaudary 1.5k points
0 votes
1 answer 4 views
4 views
Problem: Anyone here who know the declaration of a string variable names title? If yes, then please answer me.
asked Mar 27 niyatiry 2.9k points
0 votes
1 answer 26 views
26 views
Problem: My problem is the following: I have a class Nodo, which has as an attribute an array of pointers toto its same type (as to make a tree) and then I have a child class NodoAvlthat must inherit that attribute but the pointers must point to the same type , that is, point to NodoAvl. ... = T ()): Node <T> (data) {} int altu () {return alt;} }; Is there a way to do this? Thanks in advance.
asked Jan 1 sasha 16.2k points
1 vote
1 answer 4 views
4 views
Problem: How can I deal with this problem : variable length array of non-pod element type
asked Mar 13 MUHAMMAD MUNEEB 80k points
1 vote
1 answer 5 views
5 views
Problem: I need to convert normal text into Morse code and I get the error likre this. ISO c++ forbids converting a string constant to 'char*'.
asked Mar 30 PkGuy 13.1k points