reference tag

34 questions


1 answers
114 views
0
If I receive the status of Switch Preference as Bind, how can I interfere with other preferences?

I have a question because I can't solve the blockage while making the Android app.I want to change the enable value of another preference according to the true false value of the switch, but in the bi...

2 years ago

1 answers
83 views
0
When calling a method in Java, is the parameter call by reference or call by value?

I thought it was a call-by-reference, but it's called a call-by-value on the Internet. Why?


1 answers
70 views
0
Circular import from Python

What happens if two modules import each other?To generalize, what happens if a circulating import occurs in Python?


1 answers
124 views
0
JavaReferences and strings

The reference variable that stores the class's address value is System.out.print(), which shows the address value at the time of output.The reference variable referring to the string class is System.o...


2 answers
140 views
0
While solving the problem using the array pointer, I had a question

#include<stdio.h>void rotate(int(*ptr)[4]){ int i,j; int temp[4][4]; for(i=0;i<4;i++) { for(j=0;j<4;j++) { temp[i][j]=ptr[3-j][i]; } } for(i=0;i<4;i++) { for(j=0;j<4;j++) { pt...


1 answers
50 views
0
When do you use reference and pointer, respectively?

I know how to write reference and pointer.What I want to know isWhich is more appropriate to write reference or pointer.In some cases, this is specified (for example, the ++ operator only writes refer...

2 years ago

1 answers
54 views
0
See c++ structure arrangement

void CalcGPA(Subject& Sub);structure subject {// subject information charSubName[30]; // Subject Name int Hakjum; // Subject credit Char Grade[10]; // Subject Grade float GPA; // subject rating};s...

2 years ago

3 answers
141 views
0
cLanguage Parameters

When searching in a linked list, you search by creating a ListNode *p variable as shown below.void print_list(ListNode *head){ for(ListNode *p = head ; p != NULL ; p = p->link) printf(%d->,p-&g...


1 answers
98 views
0
To save visibility as Shared Preferences

I tried to save visibility as shared preference by referring to stack overflow, but only split_two state is saved and the rest is not saved. Where should I modify to save the visibility of all buttons...


4 answers
90 views
0
How to save TextView as Shared Preferences

I saved the number of clicks on the counter using sharedpreference. If you click on it after you exit the application, the number will be counted. However, TextView is not saved, so if you press up to...

« - 3 - »

© 2024 OneMinuteCode. All rights reserved.