Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
160 views

Several container adaptors--specifically, std::priority_queue, std::stack, and std::queue--provide protected access to an underlying first-order container like std::vector or std::deque. That seems ...
Dimitrije Kostic's user avatar
1 vote
1 answer
100 views

The scala project is depending on the Java lib that I cannot modify. I need to extend one of the Java classes and override method, however I have issues with protected visibility: package com.a; ...
Hedrack's user avatar
  • 786
2 votes
1 answer
148 views

Consider this simple piece of C++ code: class Foo { public: Foo() = default; }; int main() { static_assert(std::is_default_constructible_v<Foo>); return 0; } Foo has public ...
lobelk's user avatar
  • 531
0 votes
0 answers
141 views

I am trying to decrypt v20 cookies in C#. Like it is done here And I am stuck on the 1st step already, on decrypting the app bound key. var appBoundEncKeyB64 = JObject.Parse(localState)["os_crypt&...
Rougher's user avatar
  • 838
0 votes
1 answer
126 views

We are trying to transform password protected PDF file using Ghostscript without setting password. We are seeing the below error. **** Error: Couldn't initialise file. Output may be incorrect. No ...
Pavan Kumar Tiruvaipati's user avatar
0 votes
0 answers
52 views

Sub SR_SaveAsExcel() Dim invno As Long Dim fname As String invno = Range("C9") fname = "Sales Records of " Worksheets("Sales Records").Copy Application.DisplayAlerts =...
Ayon's user avatar
  • 3
-4 votes
2 answers
120 views

I am trying to wrap my head around inheritance. I've created a BasePerson class that has some protected elements, and those elements have default values. I'm trying to "update" those default ...
Theodore Steiner's user avatar
4 votes
2 answers
108 views

In C# 8, interfaces were upgraded to allow protected members, among other access modifiers. At the time, implementing classes were required to explicitly implement such protected interface members. So,...
Mars's user avatar
  • 75
0 votes
1 answer
61 views

ProtectedRoute.js import { Navigate } from 'react-router-dom'; import Cookies from 'js-cookie'; import { checkToken } from './auth'; import Admin from '../pages/Admin-page/Admin'; const ...
Diana Petrovčíková's user avatar
2 votes
2 answers
306 views

I'm kind of new to visibility and want to really internilize these concepts. I've learnt that "package-private", the default visibility in Java, allows us to see fields from classes in the ...
Daniel Hidalgo Chica's user avatar
0 votes
1 answer
147 views

I created a "form" in google sheets and I protected the sheet except for some editable ranges that require an answer. I need the values from those unprotected cells and copy them in a row to ...
Cookie's user avatar
  • 1
0 votes
1 answer
62 views

STRUCTURE src ├── pkg │ ├── subpkg1 │ │ └── restaurant.java │ ├── subpkg2 │ ├── H.java │ └── test2.java file name= restaurant.java package pkg.subpkg1; public class restaurant { ...
AMITESH's user avatar
  • 11
0 votes
1 answer
169 views

Lua dosen't provide protection level keywords such as public / private / protected. If we want to create a field that only useable in current area, most of the time we use "local" keyword. ...
S.H.W's user avatar
  • 1
-1 votes
1 answer
631 views

I want to protect my routes in reactjs and i have users with roles so please show me how to do it in home page i have login with checkbox for roles Student And Teacher and i have this routes please ...
khennine youcef's user avatar
-1 votes
1 answer
78 views

I'm writing mock unit test code that will Test a class method that downcasts an input argument interface as a concrete class. Here is the “System Under Test(SUT)” class called CarWrapperFactory: ...
crazyTech's user avatar
  • 1,527

15 30 50 per page
1
2 3 4 5
81